package cn.edu.hunau.basic.day02;

import org.junit.Test;

/**
 * @author hb
 * @date 2025-07-29 10:46:18
 */
public class CharTest {

    @Test
    public void test01(){
        char c='a';
        int i='a';
        System.out.println(c);//a
        System.out.println(i);//97
        int c1='中';
        System.out.println(c1);//20013
        char c2='\u0061';
        System.out.println(c2);//a
        char c3='\u4e2d';
        System.out.println(c3);//中

        //输出单引号
        char c4='\'';// \表示转义
    }


}
